Skip to content

Remove more classes#36

Merged
enricovianello merged 8 commits into
v2from
v2.1
Jun 30, 2026
Merged

Remove more classes#36
enricovianello merged 8 commits into
v2from
v2.1

Conversation

@enricovianello

Copy link
Copy Markdown
Member

No description provided.

enricovianello added a commit to indigo-iam/iam that referenced this pull request Jun 30, 2026
This PR reduces IAM's dependency on MITRE ID Connect by replacing selected MITRE service interfaces with IAM-owned implementations. The goal is to make the token, client, and protected resource management layers independent from MITRE internals, simplifying future maintenance and evolution while preserving the existing behavior.

This work complements the changes introduced in the related dependency PR:
indigo-iam/OpenID-Connect-Java-Spring-Server#36

Changes:

- Split token handling into IAM-specific Authorization Server and Resource Server services.
- Import the required Protected Resource registration endpoints.
- Import the subset of the Client API currently used by IAM.
- Import the Token API and introduce IAM-owned token DTOs.
- Update the application wiring and affected tests to use the new IAM services.

Additional changes:

- Validate the `iam.issuer` property at startup. The configured issuer URL must end with a trailing `/`.
- Add new audit events:
    - `RegistrationTokenIssuedEvent`
    - `ResourceTokenIssuedEvent`
    - `IdTokenIssuedEvent`

Note:
- This PR is intentionally structured as an intermediate refactoring step to further isolate IAM from MITRE ID Connect internals.
@enricovianello enricovianello merged commit 1377882 into v2 Jun 30, 2026
1 check passed
@enricovianello enricovianello deleted the v2.1 branch June 30, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant